package day01.ti.ti01;

public class BingXiang extends ShuXing{
    private String kuanshi;
private String zhileng;
    public BingXiang() {
    }

    public BingXiang(String pinpai, String xinghao, String yanse, String shoujia) {
        super(pinpai, xinghao, yanse, shoujia);
    }

    public String getKuanshi() {
        return kuanshi;
    }

    public void setKuanshi(String kuanshi) {
        this.kuanshi = kuanshi;
    }

    public String getZhileng() {
        return zhileng;
    }

    public void setZhileng(String zhileng) {
        this.zhileng = zhileng;
    }

    public void zi(){
        System.out.println("门款式为  "+getKuanshi()+"  制冷方式为  "+getZhileng());
    }

}
